import layout from '@/layout'
export default {
  path: '/subject',
  name: 'subject',
  component: layout,
  meta: {
    title: '学科管理',
    icon: 'tree-table'
  },
  children: [
    {
      path: '', // 默认子路由,只能有一个
      name: 'xueke',
      component: () => import('@/views/subject/components/xueke'),
      meta: {
        // 路由元信息，存储数据
        title: '学科',
        icon: 'tree-table'
      }
    },
    {
      path: 'mulu', // 默认子路由,只能有一个
      name: 'molu',
      component: () => import('@/views/subject/components/molu'),
      meta: {
        // 路由元信息，存储数据
        title: '目录',
        icon: 'tree-table'
      }
    },
    {
      path: 'biaoqian', // 默认子路由,只能有一个
      name: 'biaoqian',
      component: () => import('@/views/subject/components/biaoqian'),
      meta: {
        // 路由元信息，存储数据
        title: '标签',
        icon: 'tree-table'
      }
    }
  ]
}
